package cn.ibizlab.odoo.core.odoo_stock.service;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.HashMap;
import java.util.Collection;
import java.math.BigInteger;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import cn.ibizlab.odoo.core.odoo_stock.domain.Stock_return_picking;
import cn.ibizlab.odoo.core.odoo_stock.filter.Stock_return_pickingSearchContext;

/**
 * 实体[Stock_return_picking] 服务对象接口
 */

public interface IStock_return_pickingService{
     boolean update(Stock_return_picking stock_return_picking) ;
     boolean create(Stock_return_picking stock_return_picking) ;
     void createBatch(List<Stock_return_picking> stock_return_pickings, int batchSize) ;
     void updateBatch(List<Stock_return_picking> stock_return_pickings, int batchSize) ;
     void removeBatch(Collection<? extends Serializable> idList, int batchSize) ;
     Stock_return_picking get(Integer id) ;
     Stock_return_picking get(Stock_return_picking stock_return_picking) ;
     boolean remove(Integer id) ;

    /**
     * 查询集合 默认查询
     */
    Page<Stock_return_picking> searchDefault(Stock_return_pickingSearchContext context) ;

    /**
     * 根据用户查询
     */
     Page<Stock_return_picking> selectByOdoo_create(Integer id) ;

    /**
     * 根据用户查询
     */
     Page<Stock_return_picking> selectByOdoo_write(Integer id) ;

    /**
     * 根据库存位置查询
     */
     Page<Stock_return_picking> selectByOdoo_location(Integer id) ;

    /**
     * 根据库存位置查询
     */
     Page<Stock_return_picking> selectByOdoo_original_location(Integer id) ;

    /**
     * 根据库存位置查询
     */
     Page<Stock_return_picking> selectByOdoo_parent_location(Integer id) ;

    /**
     * 根据调拨查询
     */
     Page<Stock_return_picking> selectByOdoo_picking(Integer id) ;

    /**
     * 转换ClientModel为Domain
     */
    public Stock_return_picking convert2Domain(cn.ibizlab.odoo.core.client.model.Istock_return_picking model ,Stock_return_picking domain);

    /**
     * 转换Domain为ClientModel
     */
    public cn.ibizlab.odoo.core.client.model.Istock_return_picking convert2Model(Stock_return_picking domain , cn.ibizlab.odoo.core.client.model.Istock_return_picking model);

}
